﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Infinity.BusinessLayer
{
    public class CategoryViewModel
    {
        
        [Display(Name="Category ID")]
        public decimal CategoryID { get; set; }

        [Required(ErrorMessage="Name is required.")]
        [Display(Name = "Category Name")]
        [StringLength(50, MinimumLength = 3)]
        public string Category_Name { get; set; }
       
    }
}